package com.furongji.education.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleVo {

    @Schema(description = "发布文章的用户Id")
    private String userId;

    @Schema(description = "发布文章的用户姓名")
    private String userName;

    @Schema(description = "发布文章的用户头像")
    private String userAvatar;

    @Schema(description = "文章id")
    private String articleId;

    @Schema(description = "文章标题")
    private String title;

    @Schema(description = "文章正文")
    private String content;

    @Schema(description = "文章封面URL")
    private String cover;

    @Schema(description = "浏览量")
    private Integer viewCount;

    @Schema(description = "点赞数")
    private Integer likeCount;

    @Schema(description = "评论数")
    private Integer commentCount;

    @Schema(description = "创建时间")
    private LocalDateTime gmtCreate;

}
